<?php
class Player{
	
	private $playerID;
	private $firstName;
	private $lastName;
	private $age;
	private $position;
	private $careerBA;
	private $careerABs;
	private $careerHits;
	private $careerHRs;
	private $career1B;
	private $career2B;
	private $career3B;
	private $careerSBs;
	private $careerRuns;
	private $careerSOs;
	private $careerFOs;
	private $careerGOs;

}
 function Player($columns){
  $this->playerID = $columns['$playerID'];
  $this->firstName = $columns['$firstName'];
  $this->lastName = $columns['$lastName'];
  $this->age = $columns['$age'];
  $this->position = $columns['$position'];
  $this->careerBA = $columns['$careerBA'];
  $this->careerABs = $columns['$careerABs'];
  $this->careerHits = $columns['$careerHits'];
  $this->careerHRs = $columns['$careerHRs'];
  $this->career1B = $columns['$career1B'];
  $this->career2B = $columns['$career2B'];
  $this->career3B = $columns['$career3B'];
  $this->careerSBs = $columns['$careerSBs'];
  $this->careerRuns = $columns['$careerRuns'];
  $this->careerSOs = $columns['$careerSOs'];
  $this->careerFOs = $columns['$careerFOs'];
  $this->careerGOs = $columns['$careerGOs'];
 }
 
function NewPlayer($columns){
 	$this->playerID = $columns['$playerID'];
 	$this->firstName = $columns['$firstName'];
 	$this->lastName = $columns['$lastName'];
 	$this->age = $columns['$age'];
 	$this->position = $columns['$position'];
 }
 
function setPlayerName($firstName, $lastName){
	$this->PlayerName = $firstName;
	$this->PlayerName = $lastName;
}
function getPlayerName(){
	return $this->PlayerName;
}

function setPlayerID($playerID){
  $this->playerID = $playerID;  
}
function getPlayerID(){
  return $this->playerID;
}
 
function setFirstName($firstName){
  $this->firstName = $firstName;  
}
function getFirstName(){
  return $this->firstName;
}
 
function setLastName($lastName){
  $this->lastName = $lastName;  
}
function getLastName(){
  return $this->lastName;
}
 
function setAge($age){
  $this->age = $age;  
}
function getAge(){
  return $this->age;
}
 
function setPosition($position){
  $this->position = $position;  
}
function getPosition(){
  return $this->position;
}
 
function setCareerBA($careerBA){
  $this->careerBA = $careerBA;  
}
function getCareerBA(){
  return $this->$areerBA;
}

function setCareerABs($careerABs){
  $this->careerABs = $careerABs;  
}
function getCareerABs(){
  return $this->careerABs;
}
 
function setCareerHits($careerHits){
  $this->careerHits = $careerHits;  
}
function getCareerHits(){
  return $this->careerHits;
}
 
function setCareerHRs($careerHRs){
  $this->careerHRs = $careerHRs;  
}
function getCareerHRs(){
  return $this->careerHRs;
}
 
function setCareer1B($career1B){
  $this->career1B = $career1B;  
}
function getCareer1B(){
  return $this->career1B;
}
 
function setCareer2B($career2B){
  $this->career2B = $career2B;  
}
function getCareer2B(){
  return $this->career2B;
}
 
function setCareer3B($career3B){
  $this->career3B = $career3B;  
}
function getCareer3B(){
  return $this->career3B;
}
 
function setCareerSBs($careerSBs){
  $this->careerSBs = $careerSBs;  
}
function getCareerSBs(){
  return $this->careerSBs;
}
 
function setCareerRuns($careerRuns){
  $this->careerRuns = $careerRuns;  
}
function getCareerRuns(){
  return $this->careerRuns;
}
 
function setCareerSOs($careerSOs){
  $this->careerSOs = $careerSOs;  
}
function getCareerSOs(){
  return $this->careerSOs;
}
 
function setCareerFOs($careerFOs){
  $this->careerFOs = $careerFOs;  
}
function getCareerFOs(){
  return $this->careerFOs;
}
 
function setCareerGOs($careerGOs){
  $this->careerGOs = $careerGOs;  
}
function getCareerGOs(){
  return $this->careerGOs;
}

?>